﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Windows.Media;

namespace PaiBanDaPing
{
    public class CustomScreenModel:ObservableObject 
    {
        public int index = 0;

        private string url = "";

        private ImageSource bitMap;

        private double displayWidth;
        private double displayHeight;

        private bool urlIsEnabled = false;

        public string Url
        {
            get
            {
                return url;
            }

            set
            {
                url = value;
                RaisePropertyChanged("Url");
            }
        }
        private Screen displayScreen;

        public Screen DisplayScreen
        {
            get
            {
                return displayScreen;
            }

            set
            {
                displayScreen = value;
            }
        }

        public ImageSource BitMap
        {
            get
            {
                return bitMap;
            }

            set
            {
                bitMap = value;
                RaisePropertyChanged("BitMap");
            }
        }

        public double DisplayWidth
        {
            get
            {
                return displayWidth;
            }

            set
            {
                displayWidth = value;
                RaisePropertyChanged("DisplayWidth");
            }
        }

        public double DisplayHeight
        {
            get
            {
                return displayHeight;
            }

            set
            {
                displayHeight = value;
                RaisePropertyChanged("DisplayHeight");
            }
        }

        public bool UrlIsEnabled
        {
            get
            {
                return urlIsEnabled;
            }

            set
            {
                urlIsEnabled = value;
                RaisePropertyChanged("UrlIsEnabled");
            }
        }
    }
}
